@import "../utils/color";

.photo {
  position: absolute;
  top: 480px;
  left: 55px;
  width: 590px;

  &-image {
    width: 170px;
    height: 170px;
  }

  &-title {
    font-size: 32px;
    position: absolute;
    top: 0;
    left: 190px;
    width: 410px;
  }

  &-subtitle {
    font-size: 24px;
    position: absolute;
    top: 40px;
    left: 190px;
    overflow: hidden;
    width: 420px;
    height: 55px;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  &-fav {
    position: absolute;
    top: 120px;
    left: 190px;
    width: 176px;
    height: 48px;
    border: 5px solid $white;
    border-radius: 5px;

    &.fe-focus {
      color: $primary;
      border-color: $primary;

      .photo-fav-icon-white {
        display: none;
      }

      .photo-fav-icon-green {
        display: block;
      }
    }

    &-icon {
      position: absolute;
      top: 50%;
      left: 8px;
      width: 32px;
      height: 32px;
      transform: translateY(-50%);

      &-white {
        display: block;
      }

      &-green {
        display: none;
      }
    }

    &-text {
      font-size: 28px;
      position: absolute;
      top: 50%;
      left: 40px;
      transform: translateY(-50%);
    }
  }

  &-vip {
    position: absolute;
    top: 120px;
    left: 380px;
    width: 176px;
    height: 48px;
    border: 5px solid $white;
    border-radius: 5px;

    &.fe-focus {
      color: $primary;
      border-color: $primary;

      .photo-vip-icon-white {
        display: none;
      }

      .photo-vip-icon-green {
        display: block;
      }
    }

    &-icon {
      position: absolute;
      top: 50%;
      left: 8px;
      width: 32px;
      height: 32px;
      transform: translateY(-50%);

      &-white {
        display: block;
      }

      &-green {
        display: none;
      }
    }

    &-text {
      font-size: 28px;
      position: absolute;
      top: 50%;
      left: 40px;
      transform: translateY(-50%);
    }
  }
}
